//
//  HomePageCommentListViewController.h
//  ShowYork
//
//  Created by hxh on 2020/11/24.
//  Copyright © 2020 hxh. All rights reserved.
//

#import "RPBaseViewController.h"
@class HomePageCommentItemModel;
typedef void(^sendReplyCommentBlock)(NSNumber *commentId);

typedef void(^showMoreReplyMessageBlock)(HomePageCommentItemModel *itemModel);

typedef void(^updateCommentCountBlock)(NSInteger commentCount);


@interface HomePageCommentListViewController : RPBaseViewController

- (instancetype)initWithPostId:(NSNumber *)postId;

- (instancetype)initWithPostId:(NSNumber *)postId commentId:(NSNumber *)commentId;

- (void)sendCommentMessage:(NSString *)commentText originalMessage:(NSString *)originalText userInfoList:(NSArray *)userInfoList;

- (void)sendReplyMessage:(NSString *)replyText originalMessage:(NSString *)originalText userInfoList:(NSArray *)userInfoList commentId:(NSNumber *)commentId;

@property (nonatomic,copy)sendReplyCommentBlock sendReplyComment;

@property (nonatomic,copy)showMoreReplyMessageBlock showMoreReplyMessage;

@property (nonatomic,copy)updateCommentCountBlock updateCommentCount;

@end
